﻿<%@ Page Language="VB" MasterPageFile="~/Interfaz/MasterPage.master" AutoEventWireup="false" CodeFile="frmAdminRequisicion.aspx.vb" Inherits="Interfaz_frmAdminRequisicion" title="Untitled Page" %>

<%@ Register Assembly="BasicFrame.WebControls.BasicDatePicker" Namespace="BasicFrame.WebControls"
    TagPrefix="BDP" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <center>
    <table style="border-right: lightblue thin solid; border-top: lightblue thin solid;
        border-left: lightblue thin solid; width: 933px; border-bottom: lightblue thin solid;
        background-color: white">
        <tr>
            <td>
    <table style="width: 933px;">
        <tr>
            <td style="border-right: blue thin solid; border-top: blue thin solid; border-left: blue thin solid;
                width: 400px; border-bottom: blue thin solid; height: 21px">
                <table style="width: 933px; border-bottom: mediumblue thin double; background-color: white">
                    <tr>
                        <td style="width: 318px; text-align: left">
                            <strong>REQUISICION&nbsp;</strong></td>
                    </tr>
                </table>
                <table style="width: 933px">
                    <tr>
                        <td style="width: 150px; height: 16px; text-align: left;">
                            Fecha :</td>
                        <td style="width: 133px; height: 16px; text-align: left">
                            <BDP:BasicDatePicker ID="BasicDatePicker1" runat="server" DateFormat="dd-MMM-yyyy"
                                Width="224px">
                            </BDP:BasicDatePicker>
                            <strong></strong>
                        </td>
                        <td style="width: 15px; height: 16px; font-weight: bold;">
                            Prioridad :</td>
                        <td style="width: 15px; height: 16px; text-align: left; font-weight: bold;">
                                        Urgente</td>
                        <td style="width: 20px; height: 16px; font-weight: bold;">
                                        <asp:CheckBox ID="CkProg3" runat="server" Width="88px" Text="1 - 2 Dias" /></td>
                    </tr>
                    <tr style="font-weight: bold">
                        <td style="width: 150px; text-align: right; height: 30px;">
                            </td>
                        <td style="width: 133px; text-align: left; height: 30px;"></td>
                        <td style="width: 15px; height: 30px;">
                        </td>
                        <td style="width: 15px; text-align: left; height: 30px;">
                                        Normal</td>
                        <td style="width: 20px; height: 30px;">
                                        <asp:CheckBox ID="CkProg2" runat="server" Width="88px" Text="1 Semana" /></td>
                    </tr>
                    <tr>
                        <td style="width: 150px; text-align: left">
                            Nota Requisicion :</td>
                        <td style="width: 133px; text-align: left">
                            <asp:TextBox ID="TxTNota" runat="server" Height="40px" Width="176px"></asp:TextBox></td>
                        <td style="width: 15px">
                        </td>
                        <td style="width: 15px; text-align: left">
                            <strong>
                                        Programada</strong></td>
                        <td style="width: 20px">
                                        <asp:CheckBox ID="CkProg" runat="server" Width="80px" />
                            <asp:TextBox ID="TxTProgramada" runat="server" Width="80px"></asp:TextBox></td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
            </td>
        </tr>
        <tr>
            <td>
    <table style="width: 933px;">
        <tr>
            <td style="width: 933px;">
                <table style="width: 933px;">
                    <tr>
                        <td style="width: 183px; text-align: left">
                            <strong>SECCION ITEM&nbsp;</strong></td>
                    </tr>
                </table>
                <table style="width: 933px">
                    <tr>
                        <td style="width: 150px; height: 21px;">
                            <strong>Buscar Material:</strong></td>
                        <td style="width: 165px; height: 21px;">
                        </td>
                        <td style="width: 17px; height: 21px;">
                        </td>
                        <td style="width: 70px; height: 21px;">
                        </td>
                        <td style="height: 21px">
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 150px; text-align: left;">
                            <asp:CheckBox ID="CheckCodigo" runat="server" Text="Codigo" /></td>
                        <td style="width: 165px; text-align: left; font-weight: bold;">
                            <asp:DropDownList ID="DropCodigoMateriales" runat="server" Width="160px">
                            </asp:DropDownList></td>
                        <td style="width: 17px">
                        </td>
                        <td style="width: 70px">
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 150px; height: 23px; text-align: left;">
                            <asp:CheckBox ID="CheckFamilia" runat="server" Text="Familia" /></td>
                        <td style="width: 165px; height: 23px; text-align: left;">
                            <asp:DropDownList ID="DropFamilias" runat="server" Width="160px">
                            </asp:DropDownList></td>
                        <td style="width: 17px; height: 23px;">
                            <asp:Button ID="BtnBuscar" runat="server" Text="Buscar" /></td>
                        <td style="width: 70px; height: 23px; text-align: right;">
                            <strong>Material:</strong></td>
                        <td style="height: 23px; text-align: left">
                            <asp:DropDownList ID="DropMaterial" runat="server" Width="200px">
                            </asp:DropDownList></td>
                    </tr>
                </table>
                <table style="width: 933px">
                    <tr>
                        <td style="width: 150px; height: 21px; text-align: left;">
                            Proveedor :</td>
                        <td style="width: 207px; height: 21px;">
                            <asp:DropDownList ID="DropProveedor" runat="server" Width="200px">
                            </asp:DropDownList></td>
                        <td style="width: 156px; height: 21px; text-align: left;">
                            Precio Unitario :</td>
                        <td style="height: 21px">
                            <asp:TextBox ID="TxtPrecioUnit" runat="server" Width="200px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 150px; text-align: left;">
                            Unidad :</td>
                        <td style="width: 207px; text-align: left;">
                            <asp:TextBox ID="TxtUnidad" runat="server" Width="192px"></asp:TextBox></td>
                        <td style="width: 156px; text-align: left;">
                            UM :</td>
                        <td>
                            <asp:TextBox ID="TxtUM" runat="server" Width="200px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 150px; height: 23px; text-align: left;">
                            Cantidad :</td>
                        <td style="width: 207px; height: 23px; text-align: left;">
                            <asp:TextBox ID="TxtCantidad" runat="server" Width="192px"></asp:TextBox></td>
                        <td style="width: 156px; height: 23px; text-align: left;">
                            Descripcion :</td>
                        <td style="height: 23px; text-align: left">
                            <asp:TextBox ID="TxtDescripcion" runat="server" Height="32px" Width="200px"></asp:TextBox></td>
                    </tr>
                </table>
                <asp:Label ID="LabelAviso" runat="server" Width="512px"></asp:Label></td>
        </tr>
    </table>
            </td>
        </tr>
        <tr>
            <td style="text-align: center">
    <asp:GridView ID="GridRequisicion" runat="server" AutoGenerateColumns="False" CellPadding="4" AutoGenerateEditButton="True"  AutoGenerateDeleteButton ="True"
                     OnRowEditing="GridRequisicion_RowEditing" OnRowUpdating="GridRequisicion_RowUpdating" OnRowCancelingEdit = "GridRequisicion_RowCancelingEdit" OnRowDeleting="GridRequisicion_RowDeleting"
        ForeColor="#333333" GridLines="None" Width="760px">
        <RowStyle BackColor="#EFF3FB" />
        <Columns>
            <asp:BoundField DataField="ITEM" HeaderText="Item">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="UNIDAD" HeaderText="Unidad">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="DETALLE" HeaderText="Detalle">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="CANTIDAD" HeaderText="Cantidad">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="PRECIOUNITARIO" HeaderText="Precio Unitario">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="CODMATERIAL" HeaderText="Codigo Material" />
            <asp:BoundField DataField="PROVEEDOR" HeaderText="Proveedor" />
        </Columns>
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#2461BF" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
            </td>
        </tr>
        <tr>
            <td>
                            <table style="border-right: blue thin solid; border-top: blue thin solid; border-left: blue thin solid;
                                width: 100%; border-bottom: blue thin solid; position: static">
                                <tr>
                                    <td style="text-align: center">
                                        <asp:Button ID="Button1" runat="server" Text="Ingresar" /></td>
                                    <td style="text-align: center">
                                        <asp:Button ID="Button3" runat="server" Text="Limpiar" /></td>
                                    <td style="text-align: center">
                                        <asp:Button ID="BtnValidar" runat="server" Text="Validar" /></td>
                                </tr>
                            </table>
            </td>
        </tr>
    </table>
    </center>
    <br />
</asp:Content>

